<template>
	<u-tabbar
		:value="value6"
		@change="name => value6 = name"
		:fixed="true"
		:placeholder="true"
		:safeAreaInsetBottom="true"
	>
		<u-tabbar-item text="首页" icon="home" @click="click1"></u-tabbar-item>
		<u-tabbar-item text="列表" icon="play-right" @click="click2"></u-tabbar-item>
		<u-tabbar-item text="我的" icon="account" @click="click3"></u-tabbar-item>
	</u-tabbar>
</template>

<script>
	export default {
		data(){
			return {
				value6: 0,
			}
		},
		methods:{
			click1(e) {
				console.log(111)
				uni.navigateTo({
					url:'pages/index/index'
				})
			},
			click2(e) {
				uni.navigateTo({
					url:"pages/waterList/waterList"
				})
			},
			click3(e) {
				uni.navigateTo({
					url:'pages/my/my'
				})
			}
		}
	}
</script>

<style>
</style>
